package com.tiancheng.trade.authserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tiancheng.trade.authserver.entity.AuthPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: likailun
 * @Description: 权限mapper
 * @Date: create in 2024/10/21 17:17
 */
public interface AuthPermissionMapper extends BaseMapper<AuthPermission> {
    List<AuthPermission> queryByApplicationIdAndRoleIds(@Param("applicationId") Long applicationId,@Param("roleIds")  List<Long> roleIds);
}
